package com.youlu.campus.entity;

import com.youlu.campus.base.interactive.ActivityBase;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

/**
 * 活动用户授权信息表,记录用户授权信息
 */
@Getter
@Setter
@Document(collection = "activity_user_auth_info")
public class ActivityUserAuthInfo extends ActivityBase {
    @Indexed
    private String userId;
    @Indexed
    private String activityId;
    /**
     * 手机号
     */
    private String mobile;
    /**
     * 是否验证手机号
     */
    private Boolean checkMobile = Boolean.FALSE;
    /**
     * 验证手机号时间
     */
    private Date checkMobileTime;


}
